Filters

This analysis looks at

Correlations

Plots1

t-tests for Statistical Significance2

These tests compare the difference between the population mean health outcome (e.g. heart rate) and the mean health outcome when the environmental input (e.g. methane) is above its median value. Actually does not do this anymore.

  • To do: should make this analysis (maybe also) look at when pollutant is above permitted limit or if it is present at all.

Spatial Analysis

Plot points

## OGR data source with driver: ESRI Shapefile 
## Source: "../refinery_data/location/BaseMapGrid", layer: "GRD_PWD_BaseMap_0106"
## with 446 features
## It has 11 fields

Autocorrelation

## [1] "Moran's I p-value: 0.84"
## [1] "Moran's I z-score: -0.207555698373681"

Load Cal Enviro Screen

## OGR data source with driver: ESRI Shapefile 
## Source: "../refinery_data/location/CES3Results", layer: "CES3Results"
## with 8035 features
## It has 63 fields
## Integer64 fields read as strings:  Population ZIP CIscoreP Ozone_Pctl PM_2_5_Pct DPM_pctl DW_pctl Pest_pctl TR_pctl Traff_Pctl Clean_Pctl GW_pctl Haz_pctl Imp__Water IWB_pctl Solid_pctl Poll_pctl Asthma_Pct LBW_pctl CVD_pctl Edu_pctl Ling_pctl Pov_pctl Unem_pctl HB_pctl Pop_Pctl
## An object of class "SpatialPolygonsDataFrame"
## Slot "data":
##         Tract_1 Percentile Population       County   ZIP      City CIscore
## 4373 6013303203     46-50%       8491 Contra Costa 94513 Brentwood   23.56
## 4374 6013302009     41-45%       5641 Contra Costa 94531   Antioch   21.17
## 4375 6013302010     36-40%      10039 Contra Costa 94561    Oakley   19.49
## 4376 6013313204     61-65%       5542 Contra Costa 94521   Concord   31.30
## 4377 6013313203     41-45%       3222 Contra Costa 94565 Pittsburg   22.29
## 4378 6013302005     76-80%       6592 Contra Costa 94561    Oakley   39.94
##      CIscoreP Ozone Ozone_Pctl PM2_5 PM_2_5_Pct Diesel_PM DPM_pctl
## 4373       47 0.042         32  7.86         18     21.60       66
## 4374       41 0.042         32  7.86         18     27.16       80
## 4375       37 0.042         32  7.86         18     24.93       76
## 4376       62 0.038         22  7.86         18      9.35       27
## 4377       44 0.038         22  7.86         18     11.03       31
## 4378       76 0.042         32  7.86         18     21.12       65
##      DrinkingWa DW_pctl Pesticides Pest_pctl Tox_Releas TR_pctl Traffic
## 4373     423.91      44     29.346        68     227.22      39  602.44
## 4374      98.57       8     15.486        62     216.45      38  442.11
## 4375     189.22      14      9.656        58     183.22      34  324.31
## 4376     148.37       9      0.000         0     934.70      59  406.40
## 4377     230.99      23      0.000         0    1424.19      64  888.68
## 4378     189.25      14     42.710        70     182.85      34  580.41
##      Traff_Pctl Cleanups Clean_Pctl Groundwate GW_pctl Haz_Waste Haz_pctl
## 4373         42     6.50         50      10.00      50      0.05       26
## 4374         25     0.75         11       0.00       0      0.10       43
## 4375         14     2.15         28       3.00      22      0.02       16
## 4376         22    14.00         75      34.75      85      0.00        0
## 4377         62     0.00          0       0.00       0      0.10       43
## 4378         39     3.10         33      27.00      79      2.66       94
##      Imp__Water IWB_pctl Solid_Wast Solid_pctl PollutionS Poll_pctl Asthma
## 4373         10       86          0          0       5.34        54  66.65
## 4374          0        0          0          0       3.53        17 108.34
## 4375          8       76          0          0       4.06        27  90.16
## 4376          4       49          7         83       4.24        30 115.41
## 4377          0        0          7         83       3.62        18 150.18
## 4378          8       76          0          0       5.52        58  92.07
##      Asthma_Pct Low_Birth_ LBW_pctl Cardiovasc CVD_pctl Education Edu_pctl
## 4373         76       4.51       39      13.23       94       2.3        7
## 4374         94       4.01       26      11.40       85       9.5       37
## 4375         89       4.35       35      13.03       93       8.7       35
## 4376         96       5.91       75      11.51       86      21.3       64
## 4377         99       3.19       12      14.45       97      16.1       55
## 4378         90       5.37       63      13.27       94      13.8       49
##      Linguistic Ling_pctl Poverty Pov_pctl Unemployme Unem_pctl Housing_Bu
## 4373        0.4         1    14.3       15        4.1         7       17.6
## 4374        4.0        30    35.4       53        8.2        41       24.1
## 4375        1.0         6    11.0        9        5.5        17       15.1
## 4376        9.1        56    31.5       47       11.8        69       17.7
## 4377        6.5        44    28.1       42        8.4        42       21.6
## 4378        3.2        24    42.7       64       11.9        69       26.3
##      HB_pctl PopCharSco Pop_Pctl Children__ Pop_11_64_ Elderly___
## 4373      49       4.41       38       15.5       70.8       13.7
## 4374      74       6.00       62       17.0       77.9        5.1
## 4375      36       4.81       45       14.6       78.8        6.6
## 4376      49       7.38       81       15.1       75.6        9.3
## 4377      66       6.16       64       13.4       79.1        7.5
## 4378      80       7.24       80       15.6       74.5        9.9
##      Hispanic__ White____ African_Am Native_Ame Asian_Amer Other____
## 4373       21.2      55.6        8.3        0.4         10       4.5
## 4374       25.8      25.7       24.3        0.4       17.4       6.4
## 4375       28.3      56.4        4.7        0.3        6.2         4
## 4376         45      28.2       12.5        0.3       10.7       3.4
## 4377       39.7      28.1        8.8        0.4       18.4       4.7
## 4378       39.1      46.2        6.8        0.8        3.4       3.7
##      Shape_Leng Shape_Area
## 4373  12424.362    6310105
## 4374   9757.728    5263191
## 4375  11748.912    6866308
## 4376  24829.218   17025308
## 4377  12767.015    3087760
## 4378  10347.273    3560083
## 
## Slot "polygons":
## [[1]]
## An object of class "Polygons"
## Slot "Polygons":
## [[1]]
## An object of class "Polygon"
## Slot "labpt":
## [1] -121.7320   37.9471
## 
## Slot "area":
## [1] 0.0006467944
## 
## Slot "hole":
## [1] FALSE
## 
## Slot "ringDir":
## [1] 1
## 
## Slot "coords":
##            [,1]     [,2]
##  [1,] -121.7300 37.96888
##  [2,] -121.7235 37.96161
##  [3,] -121.7236 37.96151
##  [4,] -121.7233 37.96088
##  [5,] -121.7237 37.93612
##  [6,] -121.7237 37.93267
##  [7,] -121.7231 37.92667
##  [8,] -121.7231 37.92588
##  [9,] -121.7238 37.92577
## [10,] -121.7238 37.92539
## [11,] -121.7328 37.92535
## [12,] -121.7326 37.92539
## [13,] -121.7326 37.92567
## [14,] -121.7383 37.93740
## [15,] -121.7427 37.94731
## [16,] -121.7433 37.94827
## [17,] -121.7440 37.94985
## [18,] -121.7442 37.95106
## [19,] -121.7443 37.95845
## [20,] -121.7427 37.96014
## [21,] -121.7419 37.96081
## [22,] -121.7416 37.96084
## [23,] -121.7416 37.96168
## [24,] -121.7326 37.96165
## [25,] -121.7325 37.97122
## [26,] -121.7304 37.96889
## [27,] -121.7300 37.96888
## 
## 
## 
## Slot "plotOrder":
## [1] 1
## 
## Slot "labpt":
## [1] -121.7320   37.9471
## 
## Slot "ID":
## [1] "4373"
## 
## Slot "area":
## [1] 0.0006467944
## 
## 
## [[2]]
## An object of class "Polygons"
## Slot "Polygons":
## [[1]]
## An object of class "Polygon"
## Slot "labpt":
## [1] -121.7479   37.9715
## 
## Slot "area":
## [1] 0.000539671
## 
## Slot "hole":
## [1] FALSE
## 
## Slot "ringDir":
## [1] 1
## 
## Slot "coords":
##            [,1]     [,2]
##  [1,] -121.7434 37.98311
##  [2,] -121.7390 37.97888
##  [3,] -121.7324 37.97156
##  [4,] -121.7326 37.96165
##  [5,] -121.7600 37.96171
##  [6,] -121.7601 37.96981
##  [7,] -121.7607 37.97069
##  [8,] -121.7622 37.97164
##  [9,] -121.7627 37.97247
## [10,] -121.7626 37.97930
## [11,] -121.7629 37.97985
## [12,] -121.7634 37.98030
## [13,] -121.7661 37.98169
## [14,] -121.7649 37.98218
## [15,] -121.7605 37.97984
## [16,] -121.7538 37.98210
## [17,] -121.7510 37.98178
## [18,] -121.7489 37.98306
## [19,] -121.7434 37.98311
## 
## 
## 
## Slot "plotOrder":
## [1] 1
## 
## Slot "labpt":
## [1] -121.7479   37.9715
## 
## Slot "ID":
## [1] "4374"
## 
## Slot "area":
## [1] 0.000539671
## 
## 
## [[3]]
## An object of class "Polygons"
## Slot "Polygons":
## [[1]]
## An object of class "Polygon"
## Slot "labpt":
## [1] -121.73058   37.98371
## 
## Slot "area":
## [1] 0.0007041471
## 
## Slot "hole":
## [1] FALSE
## 
## Slot "ringDir":
## [1] 1
## 
## Slot "coords":
##            [,1]     [,2]
##  [1,] -121.7141 37.97147
##  [2,] -121.7141 37.96898
##  [3,] -121.7304 37.96889
##  [4,] -121.7325 37.97122
##  [5,] -121.7324 37.97156
##  [6,] -121.7390 37.97888
##  [7,] -121.7436 37.98329
##  [8,] -121.7466 37.98588
##  [9,] -121.7505 37.98873
## [10,] -121.7508 37.99782
## [11,] -121.7380 37.99793
## [12,] -121.7323 37.99785
## [13,] -121.7319 37.99761
## [14,] -121.7323 37.99705
## [15,] -121.7323 37.99054
## [16,] -121.7139 37.99054
## [17,] -121.7141 37.98590
## [18,] -121.7141 37.97147
## 
## 
## 
## Slot "plotOrder":
## [1] 1
## 
## Slot "labpt":
## [1] -121.73058   37.98371
## 
## Slot "ID":
## [1] "4375"
## 
## Slot "area":
## [1] 0.0007041471
## 
## 
## [[4]]
## An object of class "Polygons"
## Slot "Polygons":
## [[1]]
## An object of class "Polygon"
## Slot "labpt":
## [1] -121.92366   37.98894
## 
## Slot "area":
## [1] 0.001746092
## 
## Slot "hole":
## [1] FALSE
## 
## Slot "ringDir":
## [1] 1
## 
## Slot "coords":
##             [,1]     [,2]
##   [1,] -121.9376 38.01193
##   [2,] -121.9370 38.01129
##   [3,] -121.9357 38.01204
##   [4,] -121.9336 38.01194
##   [5,] -121.9330 38.01110
##   [6,] -121.9330 38.01052
##   [7,] -121.9344 38.00780
##   [8,] -121.9344 38.00731
##   [9,] -121.9349 38.00671
##  [10,] -121.9355 38.00476
##  [11,] -121.9360 38.00396
##  [12,] -121.9352 38.00322
##  [13,] -121.9350 38.00333
##  [14,] -121.9346 38.00326
##  [15,] -121.9326 38.00354
##  [16,] -121.9317 38.00334
##  [17,] -121.9304 38.00343
##  [18,] -121.9303 38.00387
##  [19,] -121.9306 38.00431
##  [20,] -121.9313 38.00431
##  [21,] -121.9308 38.00515
##  [22,] -121.9305 38.00704
##  [23,] -121.9303 38.00742
##  [24,] -121.9290 38.01113
##  [25,] -121.9276 38.01216
##  [26,] -121.9269 38.01219
##  [27,] -121.9248 38.01144
##  [28,] -121.9251 38.01094
##  [29,] -121.9242 38.01064
##  [30,] -121.9240 38.01113
##  [31,] -121.9226 38.01063
##  [32,] -121.9231 38.00976
##  [33,] -121.9230 38.00922
##  [34,] -121.9208 38.00945
##  [35,] -121.9206 38.00892
##  [36,] -121.9209 38.00818
##  [37,] -121.9209 38.00716
##  [38,] -121.9222 38.00632
##  [39,] -121.9225 38.00569
##  [40,] -121.9223 38.00520
##  [41,] -121.9226 38.00528
##  [42,] -121.9227 38.00511
##  [43,] -121.9218 38.00282
##  [44,] -121.9208 38.00229
##  [45,] -121.9126 37.99965
##  [46,] -121.9130 37.99919
##  [47,] -121.9129 37.99898
##  [48,] -121.9124 37.99869
##  [49,] -121.9121 37.99870
##  [50,] -121.9109 37.99946
##  [51,] -121.9099 38.00089
##  [52,] -121.9094 38.00076
##  [53,] -121.9078 37.99944
##  [54,] -121.9076 38.00821
##  [55,] -121.9060 38.00791
##  [56,] -121.9048 38.00907
##  [57,] -121.9034 38.00904
##  [58,] -121.9026 38.00892
##  [59,] -121.9010 38.00774
##  [60,] -121.9007 38.00782
##  [61,] -121.9002 38.00856
##  [62,] -121.8992 38.00904
##  [63,] -121.8930 38.00738
##  [64,] -121.8973 37.99615
##  [65,] -121.8972 37.99454
##  [66,] -121.8959 37.99182
##  [67,] -121.8959 37.99090
##  [68,] -121.8960 37.99019
##  [69,] -121.8977 37.98706
##  [70,] -121.8994 37.98100
##  [71,] -121.8999 37.98013
##  [72,] -121.9006 37.97947
##  [73,] -121.9019 37.97868
##  [74,] -121.9059 37.97725
##  [75,] -121.9086 37.97560
##  [76,] -121.9096 37.97513
##  [77,] -121.9113 37.97482
##  [78,] -121.9142 37.97476
##  [79,] -121.9153 37.97446
##  [80,] -121.9163 37.97398
##  [81,] -121.9194 37.97186
##  [82,] -121.9243 37.96916
##  [83,] -121.9265 37.96759
##  [84,] -121.9272 37.96695
##  [85,] -121.9276 37.96628
##  [86,] -121.9279 37.96429
##  [87,] -121.9283 37.96347
##  [88,] -121.9291 37.96262
##  [89,] -121.9306 37.96186
##  [90,] -121.9313 37.96169
##  [91,] -121.9323 37.96167
##  [92,] -121.9388 37.96290
##  [93,] -121.9407 37.96291
##  [94,] -121.9417 37.96265
##  [95,] -121.9428 37.96216
##  [96,] -121.9460 37.95977
##  [97,] -121.9491 37.96116
##  [98,] -121.9481 37.96211
##  [99,] -121.9481 37.96271
## [100,] -121.9487 37.96308
## [101,] -121.9453 37.96355
## [102,] -121.9405 37.96774
## [103,] -121.9391 37.97160
## [104,] -121.9391 37.97987
## [105,] -121.9513 37.98709
## [106,] -121.9490 37.98986
## [107,] -121.9490 37.99143
## [108,] -121.9484 37.99353
## [109,] -121.9479 37.99717
## [110,] -121.9477 37.99773
## [111,] -121.9468 37.99875
## [112,] -121.9470 38.00119
## [113,] -121.9468 38.00162
## [114,] -121.9463 38.00231
## [115,] -121.9461 38.00328
## [116,] -121.9456 38.00382
## [117,] -121.9447 38.00439
## [118,] -121.9431 38.00510
## [119,] -121.9416 38.00592
## [120,] -121.9409 38.00681
## [121,] -121.9409 38.00824
## [122,] -121.9418 38.01207
## [123,] -121.9381 38.01210
## [124,] -121.9376 38.01193
## 
## 
## 
## Slot "plotOrder":
## [1] 1
## 
## Slot "labpt":
## [1] -121.92366   37.98894
## 
## Slot "ID":
## [1] "4376"
## 
## Slot "area":
## [1] 0.001746092
## 
## 
## [[5]]
## An object of class "Polygons"
## Slot "Polygons":
## [[1]]
## An object of class "Polygon"
## Slot "labpt":
## [1] -121.92349   38.00972
## 
## Slot "area":
## [1] 0.0003167643
## 
## Slot "hole":
## [1] FALSE
## 
## Slot "ringDir":
## [1] 1
## 
## Slot "coords":
##            [,1]     [,2]
##  [1,] -121.9381 38.01911
##  [2,] -121.9381 38.01866
##  [3,] -121.9387 38.01898
##  [4,] -121.9396 38.01824
##  [5,] -121.9378 38.01847
##  [6,] -121.9373 38.01794
##  [7,] -121.9347 38.01622
##  [8,] -121.9334 38.01665
##  [9,] -121.9322 38.01769
## [10,] -121.9317 38.01791
## [11,] -121.9299 38.01822
## [12,] -121.9273 38.01803
## [13,] -121.9260 38.01750
## [14,] -121.9249 38.01626
## [15,] -121.9225 38.01569
## [16,] -121.9233 38.01517
## [17,] -121.9219 38.01494
## [18,] -121.9214 38.01542
## [19,] -121.9149 38.01384
## [20,] -121.9145 38.01330
## [21,] -121.9140 38.01146
## [22,] -121.9123 38.01078
## [23,] -121.9117 38.00947
## [24,] -121.9076 38.00821
## [25,] -121.9078 37.99944
## [26,] -121.9094 38.00076
## [27,] -121.9099 38.00089
## [28,] -121.9111 37.99929
## [29,] -121.9121 37.99870
## [30,] -121.9126 37.99872
## [31,] -121.9130 37.99919
## [32,] -121.9126 37.99965
## [33,] -121.9208 38.00229
## [34,] -121.9218 38.00282
## [35,] -121.9227 38.00511
## [36,] -121.9226 38.00528
## [37,] -121.9223 38.00520
## [38,] -121.9225 38.00569
## [39,] -121.9222 38.00632
## [40,] -121.9209 38.00716
## [41,] -121.9209 38.00818
## [42,] -121.9206 38.00892
## [43,] -121.9208 38.00945
## [44,] -121.9230 38.00922
## [45,] -121.9230 38.00982
## [46,] -121.9226 38.01063
## [47,] -121.9240 38.01113
## [48,] -121.9242 38.01064
## [49,] -121.9251 38.01094
## [50,] -121.9248 38.01144
## [51,] -121.9269 38.01219
## [52,] -121.9276 38.01216
## [53,] -121.9290 38.01113
## [54,] -121.9303 38.00742
## [55,] -121.9305 38.00704
## [56,] -121.9308 38.00515
## [57,] -121.9313 38.00431
## [58,] -121.9306 38.00431
## [59,] -121.9303 38.00387
## [60,] -121.9304 38.00343
## [61,] -121.9317 38.00334
## [62,] -121.9326 38.00354
## [63,] -121.9346 38.00326
## [64,] -121.9350 38.00333
## [65,] -121.9352 38.00322
## [66,] -121.9360 38.00396
## [67,] -121.9355 38.00476
## [68,] -121.9349 38.00671
## [69,] -121.9344 38.00731
## [70,] -121.9344 38.00780
## [71,] -121.9330 38.01052
## [72,] -121.9330 38.01110
## [73,] -121.9336 38.01194
## [74,] -121.9357 38.01204
## [75,] -121.9370 38.01129
## [76,] -121.9376 38.01193
## [77,] -121.9381 38.01210
## [78,] -121.9418 38.01207
## [79,] -121.9419 38.01910
## [80,] -121.9381 38.01911
## 
## 
## 
## Slot "plotOrder":
## [1] 1
## 
## Slot "labpt":
## [1] -121.92349   38.00972
## 
## Slot "ID":
## [1] "4377"
## 
## Slot "area":
## [1] 0.0003167643
## 
## 
## [[6]]
## An object of class "Polygons"
## Slot "Polygons":
## [[1]]
## An object of class "Polygon"
## Slot "labpt":
## [1] -121.73290   37.99931
## 
## Slot "area":
## [1] 0.0003651516
## 
## Slot "hole":
## [1] FALSE
## 
## Slot "ringDir":
## [1] 1
## 
## Slot "coords":
##            [,1]     [,2]
##  [1,] -121.7399 38.00719
##  [2,] -121.7117 37.99779
##  [3,] -121.7161 37.99780
##  [4,] -121.7162 37.99427
##  [5,] -121.7157 37.99338
##  [6,] -121.7157 37.99231
##  [7,] -121.7155 37.99208
##  [8,] -121.7147 37.99230
##  [9,] -121.7140 37.99231
## [10,] -121.7139 37.99054
## [11,] -121.7323 37.99054
## [12,] -121.7323 37.99705
## [13,] -121.7319 37.99761
## [14,] -121.7321 37.99777
## [15,] -121.7328 37.99789
## [16,] -121.7380 37.99793
## [17,] -121.7508 37.99782
## [18,] -121.7508 38.00902
## [19,] -121.7421 38.00776
## [20,] -121.7399 38.00719
## 
## 
## 
## Slot "plotOrder":
## [1] 1
## 
## Slot "labpt":
## [1] -121.73290   37.99931
## 
## Slot "ID":
## [1] "4378"
## 
## Slot "area":
## [1] 0.0003651516
## 
## 
## 
## Slot "plotOrder":
## [1] 4 3 1 2 6 5
## 
## Slot "bbox":
##          min        max
## x -121.95130 -121.71171
## y   37.92535   38.01911
## 
## Slot "proj4string":
## CRS arguments:
##  +proj=longlat +datum=WGS84 +ellps=WGS84 +towgs84=0,0,0

Leaflet


  1. For help on interpreting a correlation plot, visit this page

  2. Welch two-sample t-test